package javaclass;

public class Demo01Student {
    public static void main(String[] args) {
        Student stu1 =new Student();
        stu1.setName("小明");
        stu1.setAge(20);
        System.out.println(stu1.getName());
        System.out.println(stu1.getAge());

        Student stu2 =new Student("小花",21);
        System.out.println(stu2.getName()+stu2.getAge());
    }
}
